package cn.wolfcode.service;

import cn.wolfcode.domain.ExamQuestion;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IExamQuestionService {
    void save(ExamQuestion examQuestion);
 /*   void delete(Long id);
    void update(ExamQuestion examQuestion);
    ExamQuestion get(Long id);*/
    List<ExamQuestion> listAll();
    // 分页查询的方法
    PageInfo<ExamQuestion> query(QueryObject qo);

    List<ExamQuestion> queryByExamId(Long examId);
}
